Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align Physics system #318

Merged
merged 6 commits into from
Apr 27, 2021
Merged

Align Physics system #318

merged 6 commits into from
Apr 27, 2021

Conversation

diegoferigo
Copy link
Collaborator

@diegoferigo diegoferigo commented Mar 31, 2021

Following the new procedure #315.

Note: this PR breaks the compatibility with Ignition distributions older than Edifice. Unfortunately, if we want to keep our current branching policy and keep the Physics system aligned with upstream, we cannot guarantee (as documented) backward compatibility with previous distributions.

@diegoferigo
Copy link
Collaborator Author

diegoferigo commented Apr 2, 2021

It seems that there are few PRs upstream targeting the Physics system that will be merged upstream in the next few days. I'll leave this PR open for few more days, maybe I can include them here as well.

@traversaro
Copy link
Contributor

traversaro commented Apr 2, 2021

Note: this PR breaks the compatibility with Ignition distributions older than Edifice. Unfortunately, if we want to keep our current branching policy and keep the Physics system aligned with upstream, we cannot guarantee (as documented) backward compatibility with previous distributions.

I think this make sense, all of the Ignition is quite new so depending on the latest release make totally sense.

@diegoferigo
Copy link
Collaborator Author

In this PR, I also enabled the support to the profiler that could be helpful to debug #319. As soon as I start this task, I'll write a short tutorial in Discussions. In the meantime, let's refer to the upstream's documentation.

@diegoferigo
Copy link
Collaborator Author

diegoferigo commented Apr 27, 2021

Reminder for my future self. In 21c9233 I disabled some lines introduced in gazebosim/gz-sim#678 that were causing paused step to behave weird. Probably there's something strange in the caching of the link poses. Commenting out these lines and forcing the changed state in 4cab097 fixed the visualization. There's some upstream effort to run server and gui in the same process, as soon as they will implement it, network transport is no longer needed and these problems should not arise.

Video

This is a pure kinematic visualization where only paused steps are run. Without the mentioned fix, the visual of the feet do not work properly.

feet_visual_weird.mp4

Reminder: I have to squash and merge this time.

@diegoferigo
Copy link
Collaborator Author

More details about the broadcasting of the Pose components for paused steps implemented in 4cab097 can be found in gazebosim/gz-sim#544.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants